{{ HTML::style('css/bootstrap.min.css'); }}
{{ HTML::style('css/bootstrap-theme.min.css'); }}
{{ HTML::style('css/nanoscroller.css'); }}
{{ HTML::style('css/style.css'); }}
{{ HTML::script('js/jquery-1.10.2.min.js'); }}
{{ HTML::script('js/bootstrap.min.js'); }}

<style>
    .content{
        background-color: #fff;
        font-family: Times New Roman;
        padding: 2cm 1.5cm 2cm 3cm;
        font-size: 14px;
        line-height: 1.5em;
    }
    .content table tr {
        height: 25px !important;
    }
    table td { padding: 0px 0px 0px 5px !important;}
	.text-right { text-algin: right !important; padding-right: 5px !important;}
	.table>thead>tr>th {
		vertical-align: middle !important; text-algin: center !important;
	}
</style>
<?php
    $don = DB::table('bieu_mau')->where('id', $idd)->first();
    //Lấy id loại vi phạm của cuộc kiểm tra
    $idvp = DB::table('vipham')->where('MAHV', "VP")->first()->id;
    $noidung_don = $don->NOI_DUNG;
    
    if($status == 1) {
        $ct = DB::table('vctcuoctt')->where('ID_CUOC_TT', $idct)->first();
        $nghiavu = DB::table('nghiavu')->where('id_ct', $ct->ID)->get();
        $noidung = DB::table('noidung')->where('id_ct', $ct->ID)->get();
        $num = 0;
        //============= Xu ly ngay thang nam cua to trinh
        if($ct->NGAY_BH_TOTRINH != '...') {
            $strTT = explode('/', $ct->NGAY_BH_TOTRINH);
            $noidung_don = str_replace('@TTDATE', $strTT[0], $noidung_don);
            $noidung_don = str_replace('@TTMONTHTT', $strTT[1], $noidung_don);
            $noidung_don = str_replace('@TTYEARTT', $strTT[2], $noidung_don);
        }
        //============== Xu ly ngay thang nam cua
        if($ct->NGAY_BH_QD != '...') {
            $strQD = explode('/', $ct->NGAY_BH_QD);
            $noidung_don = str_replace('@QDDATE', $strQD[0], $noidung_don);
            $noidung_don = str_replace('@QDMONTH', $strQD[1], $noidung_don);
            $noidung_don = str_replace('@QDYEAR', $strQD[2], $noidung_don);
        }
         //============== Xu ly ngay thang nam phieu tham dinh 
        if($ct->TG_LAP_PHIEU_TD != '...') {
            $strTD = explode('/', $ct->TG_LAP_PHIEU_TD);
            $noidung_don = str_replace('@TDDATE', $strTD[0], $noidung_don);
            $noidung_don = str_replace('@TDMONTH', $strTD[1], $noidung_don);
            $noidung_don = str_replace('@TDYEAR', $strTD[2], $noidung_don);
        }
        //============== Xu ly ngay thang nam phieu ket luan 
        if($ct->TG_KET_LUAN != '...') {
            $strKL = explode('/', $ct->TG_KET_LUAN);
            $noidung_don = str_replace('@KLDATE', $strKL[0], $noidung_don);
            $noidung_don = str_replace('@KLMONTH', $strKL[1], $noidung_don);
            $noidung_don = str_replace('@KLYEAR', $strKL[2], $noidung_don);
        }
        //============== Xu ly ngay thang nam cua bao cao
        if($ct->TG_BAO_CAO != '...') {
            $strBC = explode('/', $ct->TG_BAO_CAO);
            $noidung_don = str_replace('@BCDATE', $strBC[0], $noidung_don);
            $noidung_don = str_replace('@BCMONTH', $strBC[1], $noidung_don);
            $noidung_don = str_replace('@BCYEAR', $strBC[2], $noidung_don);
        }
        //============== Xu ly ngay thang nam cua lap bien ban
        if($ct->TG_LAP_BB != '...') {
            $strLBB = explode('/', $ct->TG_LAP_BB);
            $noidung_don = str_replace('@LBBDATE', $strLBB[0], $noidung_don);
            $noidung_don = str_replace('@LBBMONTH', $strLBB[1], $noidung_don);
            $noidung_don = str_replace('@LBBYEAR', $strLBB[2], $noidung_don);
        }
        //============== Xu ly nguoi ky
        if($idnguoiky == 1) {
            $noidung_don = str_replace('@NGUOIKY', "&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;CHI CỤC TRƯỞNG", $noidung_don);
        }
        if($idnguoiky == 2) {
            $noidung_don = str_replace('@NGUOIKY', "KT.CHI CỤC TRƯỞNG<br>&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp;PHÓ CHI CỤC TRƯỞNG", $noidung_don);
        }
    } else {
        $ct = DB::table('vcuoctt')->where('ID', $idct)->first();
        //============= Xu ly ngay thang nam cua to trinh
        if($ct->NGAY_BH_TOTRINH != '...') {
            $strTT = explode('/', $ct->NGAY_BH_TOTRINH);
            $noidung_don = str_replace('@TTDATE', $strTT[0], $noidung_don);
            $noidung_don = str_replace('@TTMONTHTT', $strTT[1], $noidung_don);
            $noidung_don = str_replace('@TTYEARTT', $strTT[2], $noidung_don);
        }
        //============== Xu ly ngay thang nam cua
        if($ct->NGAY_BH_QD != '...') {
            $strQD = explode('/', $ct->NGAY_BH_QD);
            $noidung_don = str_replace('@QDDATE', $strQD[0], $noidung_don);
            $noidung_don = str_replace('@QDMONTH', $strQD[1], $noidung_don);
            $noidung_don = str_replace('@QDYEAR', $strQD[2], $noidung_don);
        }
        //============== Xu ly nguoi ky
        if($idnguoiky == 1) {
            $noidung_don = str_replace('@NGUOIKY', "&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;CHI CỤC TRƯỞNG", $noidung_don);
        }
        if($idnguoiky == 2) {
            $noidung_don = str_replace('@NGUOIKY', "KT.CHI CỤC TRƯỞNG<br>&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp;PHÓ CHI CỤC TRƯỞNG", $noidung_don);
        }
    }
    
    foreach ($ct as $key => $value) {
        $noidung_don = str_replace('@' . $key, $value, $noidung_don);
    }
?>
<script type="text/javascript">
    parent.$('#toolbar').append('<button class="btn btn-default btn-sm" onclick="window.frames[0].$(\'#btnThongbao\').popover(\'hide\');window.frames[0].print();" data-toggle="tooltip" title="In mẫu này" data-placement="left"><span class="glyphicon glyphicon-print" style="font-size: 16px; margin-bot: 2px;"></span></button>');
    parent.$('#toolbar').append('<button class="btn btn-default btn-sm" data-dismiss="modal" data-toggle="tooltip" title="Quay lại" data-placement="left"><span class="glyphicon glyphicon-arrow-left" style="font-size: 16px"></span></button>');
    parent.$('#toolbar').fadeIn(500);
    $('[data-toggle="tooltip"]').tooltip();
    parent.$('[data-toggle="tooltip"]').tooltip();
</script>
<div class="content">
    @if(($idd == 10) && ($status == 1))
    <style>p{margin-top: -10px;}</style>
    <table border="0" cellpadding="0" cellspacing="0" style="width:670px">
	<tbody>
		<tr>
			<td style="height:51px; width:272px">
			<p style="margin-left:-5.4pt"><span style="font-size:14px"><span style="font-family:times new roman,times,serif">&nbsp; &nbsp;CHI CỤC THUẾ CẦU NGANG</span></span></p>

			<p style="margin-left:-5.4pt"><span style="font-size:14px"><span style="font-family:times new roman,times,serif"><strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<u> ĐOÀN KIỂM TRA</u></strong></span></span></p>
			</td>
			<td style="height:51px; width:398px">
			<p style="margin-left:-5.4pt"><span style="font-size:14px"><span style="font-family:times new roman,times,serif"><strong>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; CỘNG HO&Agrave; X&Atilde; HỘI CHỦ NGHĨA VIỆT NAM</strong></span></span></p>

			<p style="margin-left:-5.4pt"><span style="font-size:14px"><span style="font-family:times new roman,times,serif"><strong>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <u>Độc lập - Tự do - Hạnh ph&uacute;c</u></strong></span></span></p>
			</td>
		</tr>
	</tbody>
</table>
<p>&nbsp;</p>

<p style="text-align: center;"><span style="font-family:times new roman,times,serif"><span style="font-size:14px"><strong>BI&Ecirc;N BẢN KIỂM TRA THUẾ</strong></span></span></p>

<p style="text-align: center;"><span style="font-family:times new roman,times,serif"><span style="font-size:14px">Tại <strong><span style="color:#FF0000">{{$ct->TEN_CS}}</span></strong></span></span></p>

<p><span style="font-family:times new roman,times,serif"><span style="font-size:14px">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span></span></p>

<p style="text-align: justify;"><span style="font-family:times new roman,times,serif"><span style="font-size:14px">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Căn cứ Quyết định số: </span><span style="color:#FF0000"><strong>{{$ct->SO_QD}}</strong></span><span style="font-size:14px"> ng&agrave;y </span><span style="color:#FF0000"><strong>{{$ct->NGAY_BH_QD}}</strong></span><span style="font-size:14px"> của Chi cục trưởng Chi cục Thuế huyện Cầu Ngang về việc kiểm tra chấp h&agrave;nh ph&aacute;p luật thuế tại <strong><span style="color:#FF0000">{{$ct->TEN_CS}}</span></strong>.</span></span></p>

<p style="text-align: justify;"><span style="font-family:times new roman,times,serif"><span style="font-size:14px">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Đo&agrave;n kiểm tra đ&atilde; tiến h&agrave;nh kiểm tra việc chấp h&agrave;nh ph&aacute;p luật thuế tại <strong><span style="color:#FF0000">{{$ct->TEN_CS}}</span></strong>.</span></span></p>

<p style="text-align: justify;"><span style="font-family:times new roman,times,serif"><span style="font-size:14px">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Thời kỳ kiểm tra: </span><span style="color:#FF0000"><strong>{{$ct->NGAY_BD_TT}}</strong></span><span style="font-size:14px"> đến &nbsp;</span><span style="color:#FF0000"><strong>{{$ct->NGAY_KT_TT}}</strong></span><span style="font-size:14px">.</span></span></p>

<p style="text-align: justify;"><span style="font-family:times new roman,times,serif"><span style="font-size:14px">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; H&ocirc;m nay, ng&agrave;y <span style="color:#FF0000"><strong>{{$ct->DATE}}</strong></span> th&aacute;ng <strong><span style="color:#FF0000">{{$ct->MONTH}}</span></strong> năm <strong><span style="color:#FF0000">{{$ct->YEAR}}</span></strong>&nbsp;tại <strong><span style="color:#FF0000">{{$ct->TEN_CS}}</span></strong>, ch&uacute;ng t&ocirc;i gồm:</span></span></p>

<p style="text-align: justify;"><span style="font-family:times new roman,times,serif"><span style="font-size:14px"><strong>1. Đo&agrave;n kiểm tra:</strong></span></span></p>

<p style="text-align: justify;"><span style="font-family:times new roman,times,serif"><span style="font-size:14px">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <strong>-</strong>&nbsp;Đ/c:&nbsp;</span><strong><span style="color:#FF0000">{{$ct->CT_CB1}}<span style="font-size:14px; line-height:22.3999996185303px">.</span></span></strong></span></p>

<p style="text-align: justify;"><span style="font-family:times new roman,times,serif"><span style="font-size:14px">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <strong>-</strong>&nbsp;Đ/c:&nbsp;</span><span style="color:#FF0000"><strong>{{$ct->CT_CB2}}.</strong></span></span></p>

<p style="text-align: justify;"><span style="font-family:times new roman,times,serif"><span style="font-size:14px">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <strong>-</strong>&nbsp;Đ/c:&nbsp;</span><span style="color:#FF0000"><strong>{{$ct->CT_CB1}}.</strong></span></span></p>

<p style="text-align: justify;"><span style="font-family:times new roman,times,serif"><span style="font-size:14px"><strong>2. Người nộp thuế:</strong></span></span></p>

<p style="text-align: justify;"><span style="font-family:times new roman,times,serif"><span style="font-size:14px">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; - </span>&Ocirc;ng (b&agrave;):&nbsp;<span style="color:#FF0000"><strong>{{$ct->CHU_CS}}</strong></span>&nbsp;-&nbsp;<span style="color:#FF0000"><strong>{{$ct->CHUCVU_NNT}}</strong></span>&nbsp;&nbsp;doanh nghiệp.</span></p>

<p style="text-align: justify;"><span style="font-family:times new roman,times,serif"><span style="font-size:14px">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Lập bi&ecirc;n bản x&aacute;c nhận kết quả kiểm tra như sau:</span></span></p>

<p style="text-align: justify;">&nbsp;</p>

<p style="text-align: justify;"><span style="font-family:times new roman,times,serif"><span style="font-size:14px"><strong>I/ &nbsp;ĐẶC ĐIỂM T&Igrave;NH H&Igrave;NH CHUNG CỦA NGƯỜI NỘP THUẾ:</strong></span></span></p>

<p style="text-align: justify;"><span style="font-family:times new roman,times,serif"><span style="font-size:14px">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; - M&atilde; số thuế:&nbsp;</span><span style="color:#FF0000"><strong>{{$ct->MST}}.</strong></span></span></p>

<p style="text-align: justify;"><span style="font-family:times new roman,times,serif"><span style="font-size:14px">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; - Địa chỉ kinh doanh: </span>&nbsp;<span style="color:#FF0000"><strong>{{$ct->DIA_CHI}}</strong>.</span></span></p>

<p style="text-align: justify;"><span style="font-family:times new roman,times,serif"><span style="font-size:14px">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; - Giấy chứng nhận đăng k&yacute; kinh doanh số </span><span style="color:#FF0000"><strong>{{$ct->GIAY_CN_SO}}</strong></span><span style="font-size:14px"> do Ph&ograve;ng Đăng k&yacute; kinh doanh tỉnh Tr&agrave; Vinh cấp ng&agrave;y </span><span style="color:#FF0000"><strong>{{$ct->NGAY_CAP}}</strong></span>.</span></p>

<p style="text-align: justify;"><span style="font-family:times new roman,times,serif"><span style="font-size:14px">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; - Ng&agrave;nh nghề kinh doanh: </span><span style="color:#FF0000"><strong>{{$ct->NGANH_NGHE_KD}}</strong>.</span></span></p>

<p style="text-align: justify;"><span style="font-family:times new roman,times,serif"><span style="font-size:14px">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; - H&igrave;nh thức hạch to&aacute;n kế to&aacute;n: </span><span style="color:#FF0000"><strong>{{$ct->HT_HACH_TOAN}}</strong>.</span></span></p>

<p style="text-align: justify;"><span style="font-family:times new roman,times,serif"><span style="font-size:14px">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; - Ni&ecirc;n độ kế to&aacute;n: từ ng&agrave;y </span><span style="color:#FF0000"><strong>{{$ct->THOI_DIEM_KT_TU}}</strong></span><span style="font-size:14px"> đến </span><span style="color:#FF0000"><strong>{{$ct->THOI_DIEM_KT_DEN}}</strong>.</span></span></p>

<p style="text-align: justify;"><span style="font-family:times new roman,times,serif"><span style="font-size:14px">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; - Đăng k&yacute; k&ecirc; khai nộp thuế:&nbsp;</span><span style="color:#FF0000"><strong>{{$ct->NOI_DK_KE_KHAI}}</strong>.</span></span></p>

<p style="text-align: justify;"><span style="font-family:times new roman,times,serif"><span style="font-size:14px">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; - H&igrave;nh thức k&ecirc; khai nộp thuế GTGT: </span><span style="color:#FF0000"><strong>{{$ct->HT_NOP_THUE}}</strong>.</span></span></p>

<p style="text-align: justify;">&nbsp;</p>

<p><span style="font-family:times new roman,times,serif"><span style="font-size:14px"><strong>II/ &nbsp;NỘI DUNG KIỂM TRA TẠI TRỤ SỞ CỦA NGƯỜI &nbsp;NỘP THUẾ:</strong></span></span></p>

<p style="text-align: right;"><span style="font-family:times new roman,times,serif"><span style="font-size:14px"><strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</strong>ĐVT : đồng</span></span></p>
                
				<table class="table table-bordered table-hover">
                    <thead>
                        <tr>
                            <th>STT</th>
                            <th>Chỉ tiêu</th>
                            <th>Số b/c của NNT</th>
                            <th>Số kiểm tra</th>
                            <th>Chênh lệch</th>
                        </tr>
                    </thead>
                    @foreach($noidung as $key=>$value)
                    <tbody>
                        <tr>
                            <td class="text-center">{{++$num}}</td>
                            <td class="text-right">{{$value->chitieu}}</td>
                            <td class="text-right">{{$value->N1}}</td>
                            <td class="text-right">{{$value->N2}}</td>
                            <td class="text-right">{{$value->N3}}</td>
                        </tr>
                    </tbody>
                    @endforeach
                </table>
				
        <p><span style="font-family:times new roman,times,serif"><span style="font-size:14px">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; L&yacute; do ch&ecirc;nh lệch:</span></span></p>

<p><span style="font-family:times new roman,times,serif; text-align: justify"><span style="font-size:14px">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span style="color:#FF0000">{{$ct->LY_DO_CL}}</span>.</span></p>
<br/>
<p style="text-align: justify;"><span style="font-family:times new roman,times,serif"><span style="font-size:14px"><strong>III/ &nbsp;T&Igrave;NH H&Igrave;NH THỰC HIỆN NGHĨA VỤ VỚI NG&Acirc;N S&Aacute;CH NH&Agrave; NƯỚC:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</strong></span></span></p>
<p style="text-align: right;"><span style="font-family:times new roman,times,serif"><span style="font-size:14px"><strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</strong>ĐVT : đồng</span></span></p>
        <table class="table table-bordered table-hover">
                    <thead>
                        <tr>
                            <th rowspan="2" class="title-ver" style="vertical-align: central">STT</th>
                            <th rowspan="2" class="title-ver" style="vertical-align: central">Chỉ tiêu</th>
                            <th colspan="3" class="title-ver">Theo dõi tồn đọng năm trước</th>
                            <th colspan="4" class="title-ver">Theo dõi phát sinh</th>
                            <th rowspan="2" class="title-ver" >Tổng số còn phải nộp</th>
                        </tr>
                        <tr>
                            <th class="title-ver">Kỳ trước chuyển sang</th>
                            <th class="title-ver">Số đã nộp cho tồn đọng</th>
                            <th class="title-ver">Số còn phải nộp kỳ trước chuyển sang</th>
                            <th class="title-ver">Phát sinh phải nộp trong kỳ</th>
                            <th class="title-ver">Số đã được hoàn hoặc miễn giảm trong kỳ</th>
                            <th class="title-ver">Số đã nộp cho phát sinh trong kỳ</th>
                            <th class="title-ver">Số còn phải nộp của phát sinh trong kỳ</th>
                        </tr>
                    </thead>
                    @foreach($nghiavu as $key=>$value)
                    <tbody>
                        <tr>
                            <td class="text-center">{{++$num}}</td>
                            <td class="text-right">{{$value->chitieu}}</td>
                            <td class="text-right">{{$value->N1}}</td>
                            <td class="text-right">{{$value->N2}}</td>
                            <td class="text-right">{{$value->N3}}</td>
                            <td class="text-right">{{$value->N4}}</td>
                            <td class="text-right">{{$value->N5}}</td>
                            <td class="text-right">{{$value->N6}}</td>
                            <td class="text-right">{{$value->N7}}</td>
                            <td class="text-right">{{$value->N8}}</td>
                        </tr>
                    </tbody>
                    @endforeach
                </table>
<p>&nbsp;</p>

<p><span style="font-family:times new roman,times,serif"><span style="font-size:14px"><strong>&nbsp;IV/ &nbsp;KIẾN NGHỊ V&Agrave; Y&Ecirc;U CẦU</strong>:</span></span></p>

<p><span style="font-family:times new roman,times,serif; text-align: justify"><span style="font-size:14px">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span style="color:#FF0000">{{$ct->KIEN_NGHI}}.</span></span></span></p>

<p style="text-align: justify;"><span style="font-family:times new roman,times,serif"><span style="font-size:14px"><strong><span style="color:#FF0000">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span></strong><span style="color:#FF0000">{{$ct->YEU_CAU}}</span>.</span></span></p>

<p style="text-align: justify;">&nbsp;</p>

<p style="text-align: justify;"><span style="font-family:times new roman,times,serif"><span style="font-size:14px"><strong><span style="color:#FF0000">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span></strong>V&igrave; thời gian c&oacute; hạn n&ecirc;n đo&agrave;n kiểm tra ch&uacute;ng t&ocirc;i kh&ocirc;ng c&oacute; x&aacute;c minh ho&aacute; đơn của doanh nghiệp. Đo&agrave;n kiểm tra kh&ocirc;ng chịu tr&aacute;ch nhiệm bất cứ số liệu n&agrave;o kh&aacute;c nếu sau n&agrave;y c&aacute;c cơ quan chức năng c&oacute; kiểm tra, thanh tra, kiểm to&aacute;n th&igrave; doanh nghiệp ho&agrave;n to&agrave;n chịu tr&aacute;ch nhiệm trước cơ quan ph&aacute;p luật nh&agrave; nước.</span></span></p>

<p style="text-align: justify;"><span style="font-family:times new roman,times,serif"><span style="font-size:14px">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span></span></p>

<p style="text-align: justify;"><span style="font-family:times new roman,times,serif"><span style="font-size:14px"><strong>V/ &Yacute; KIẾN CỦA CƠ SỞ KINH DOANH.</strong></span></span></p>

<p style="text-align: justify;"><span style="font-family:times new roman,times,serif"><span style="font-size:14px">
            ...............................................................................................................................................<br/>
            ...............................................................................................................................................<br/>
            ...............................................................................................................................................</span></span></p>

<p style="text-align: justify;"><span style="font-family:times new roman,times,serif"><span style="font-size:14px"><strong><span style="color:#FF0000">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span></strong>Bi&ecirc;n bản được th&ocirc;ng qua v&agrave;o l&uacute;c ... giờ ...&nbsp;ph&uacute;t c&ugrave;ng ng&agrave;y, c&oacute; đọc lại cho tất cả nghe đồng &yacute; số liệu trong bi&ecirc;n bản l&agrave; đ&uacute;ng c&ugrave;ng k&yacute; t&ecirc;n.</span></span></p>

<p style="text-align: justify;"><span style="font-family:times new roman,times,serif"><span style="font-size:14px">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Bi&ecirc;n bản gồm c&oacute; <span style="color:#FF0000"><b><?php echo (isset($sotrang) && ($sotrang != null)) ? $sotrang : "..." ?></b> trang</span> được lập th&agrave;nh <span style="color:#FF0000"><b><?php echo (isset($soban) && ($soban != null)) ? $soban : "..." ?></b> bản</span> c&oacute; nội dung v&agrave; ph&aacute;p l&yacute; như nhau, giao <strong><span style="color:#FF0000">{{$ct->TEN_CS}}</span></strong>, Đội K&ecirc; khai kế to&aacute;n thuế &amp; tin học, Đội Kiểm tra thuế &ndash; Quản l&yacute; nợ &amp; cưỡng chế nợ thuế.</span></span></p>

<p style="text-align: justify;">&nbsp;</p>

<p style="text-align: justify;">&nbsp;</p>

<p style="text-align: justify;"><span style="font-family:times new roman,times,serif"><span style="font-size:14px"><strong style="margin-left: 80px">NGƯỜI NỘP THUẾ&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ĐO&Agrave;N KIỂM TRA</strong></span></span></p>

<p style="text-align: right; padding-right: 150px;"><span style="font-family:times new roman,times,serif"><span style="font-size:14px"><strong>Trưởng Đoàn</strong></span></span></p>
    @else
        {{$noidung_don}}
    @endif
</div>
